package com.haizhi.crm.sys.auth.model;

import com.haizhi.crm.common.model.BaseDo;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by yangyijun on 2018/5/16.
 */
@Data
@Entity
@Table(name = "ts_department" )
public class DepartmentDo extends BaseDo {
    @Column(name = "name" )
    private String name;

    @Column(name = "type" )
    private String type;

    @Column(name = "manager_id" )
    private Long managerId;

    @Column(name = "institution_id" )
    private Long institutionId;

    @Column(name = "direct_superior_dept" )
    private String directSuperiorDept;

    @Column(name = "allSuperiorDept" )
    private String allSuperiorDept;

    @Column(name = "bank" )
    private String bank;

    @Column(name = "code" )
    private String code;

    @Column(name = "parent" )
    private String parent;
}
